package com.ehome.poct.base.api.feign.device;

import com.ehome.core.page.PageInfo;
import com.ehome.poct.base.api.dto.device.BootInfoExportQry;
import com.ehome.poct.base.api.dto.device.DeviceQry;
import com.ehome.poct.base.api.dto.device.HardwareVersionReqDTO;
import com.ehome.poct.base.api.dto.device.bootModule.BootInfoDTO;
import com.ehome.poct.base.api.vo.device.BootDetailExportVO;
import com.ehome.poct.base.api.vo.device.TestDeviceBootingHistVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;


/**
 * 开机自检记录详细控制器
 *
 * @author laobai
 * @Date 2022-10-17 10:11
 */
@FeignClient(value = "${service.poct-base:}${service.suffix.poct-base:}",contextId = "deviceBootingDetail",path = "/devicebootingdetail")
public interface TestDeviceBootingDetailFeginClient {
    /**
     *  获取导出的数据
     * @param qry sno条件
     * @return 组装好的导出数据
     */
    @PostMapping("/exportdetaildata")
    List<BootDetailExportVO> getExportDetailData(@RequestBody BootInfoExportQry qry);
}
